package com.xjoyt.pay.share;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableAsync
@EnableHystrix
@EnableFeignClients(basePackages = "com.xjoyt.pay.clients")
@EnableEurekaClient
@EntityScan(basePackages = "com.xjoyt.pay.share")
public class App {

	public static void main(String[] args) {
		SpringApplication.run(App.class, args);
	}
}
